package com.zmn.oms.dubbo.interfaces.zmn.third.baidu;

import com.zmn.common.dto2.ResponseDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;

/**
 * @author xiewenbing
 * @date:2020/11/24
 * description: 百度推广渠道H5页面接口
 */
@Api(value = "百度推广渠道获取url的H5接口", tags = {"百度推广渠道获取url的H5接口"})
public interface BaiduApiRemoteService {

    /**
     * 获取渠道对接的接口URL
     *
     * @param channelId
     * @return
     */
    @ApiOperation(value = "查询渠道对应的URL", response = ResponseDTO.class)
    ResponseDTO<String> getChannelAPIUrl(@ApiParam(name = "渠道id") @NotNull(message = "渠道id不能为空") Integer channelId);
}
